package day76.ling.in;

import day76.ling.in.entity.Emp;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@MapperScan("day76.ling.in.dao")
public class LingApplication {

    public static void main(String[] args) {

        SpringApplication.run(LingApplication.class, args);
    }
@Bean
    public Emp getEmp(){
        return new Emp();
}
}
